package com.rgs.se.sort;

/**
 * @program: study-algorithm
 * @description:
 * @author: Mr.Ren
 * @create: 2022-10-19 16:31
 **/
public class SleepThread extends Thread{
    int s = 0;
    public SleepThread(){}

    public SleepThread(int s){
        this.s = s;
    }

    @Override
    public void run() {
        try {
            sleep(s*10 + 10);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.print(s+",");
    }

}
